/*************************************************************************
  > File Name: Compare.cpp
  > Author: 16hxliang3
  > Mail: 16hxliang3@stu.edu.cn
  > Created Time: Tue 17 May 2022 10:35:41 AM CST
 ************************************************************************/

#include <cstdint>
#include <iostream>
int main() {
   uint32_t lim = 300000000;
   uint32_t j = 0, k = 0;
   auto start = clock();
   for( uint32_t i = 0; i < lim; i++ ) {
      if( !( i ^ 1 ) ) {
      } else {
         j++;
      }
   }
   auto finish = clock();
   std::cout << finish - start << std::endl;
   start = clock();
   for( uint32_t i = 0; i < lim; i++ ) {
      if( i == 1 ) {
      } else {
         k++;
      }
   }
   finish = clock();
   std::cout << finish - start << std::endl;
}
